<template>
  <!-- 主机查看详情对话框 -->
  <el-dialog
    title="主机SSH配置"
    :visible.sync="hostSSHDialogVisible"
    top="70px"
    width="50%"
    @open="open()"
    :before-close="closeDialog"
  >
    <span class="main"> </span>
    <span slot="footer" class="dialog-footer">
      <el-button @click="closeDialog">取 消</el-button>
      <!-- <el-button @click="showEdit = true">编 辑</el-button> -->
      <el-button type="primary" @click="closeDialog">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: ["hostSSHDialogVisible"],
  data() {
    return {};
  },
  methods: {
    open() {},
    // 关闭弹出框
    closeDialog() {
      this.$emit("closeDialog");
    },
  },
};
</script>

<style lang='less' scoped>
</style>